<template>
  <div class="public">
    <!-- 二级路由视图 -->
    <div class="home-body">
      <router-view />
    </div>
    <!-- 页脚 -->
    <Footer/>
  </div>
</template>

<script>
import Footer from "@/components/Footer.vue";
export default {
  name: "home",
  components: {
    Footer,
  },
};
</script>

<style lang="scss" scoped>
.home-body {
  width: 100%;
  flex: 1;
  overflow-y: auto;
}
</style>